package com.yuxinmuyu.sports_management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuxinmuyu.sports_management.bean.entiy.SStudent;
import com.yuxinmuyu.sports_management.bean.response.sStudentPageResponse;
import org.apache.ibatis.annotations.Param;

public interface SStudentMapper extends BaseMapper<SStudent> {
    Page<SStudent> getPage(Page<SStudent> page, @Param("entryYear") String entryYear, @Param("studName") String studName);

    Page<sStudentPageResponse> selectStudent(Page<sStudentPageResponse> page, @Param("entryYear")String entryYear, @Param("deptID")String deptID, @Param("majorID")String majorID, @Param("classID")String classID, @Param("keyWord")String keyWord);

    sStudentPageResponse selectByStudId(String stuID);
}
